package com.example.administrator.food.modle.home.bean;/**
 * Created by Administrator on 2016/9/27.
 */

import java.util.List;

/**
 * User: 张莉璟(2283465007@qq.com)
 * Date: 2016/09/27
 * Time: 20:13
 * progject: YueFoodHome
 * Describe： 首页的实体类
 */
public class Home {
        private DatasBean datas;
        public static class DatasBean {
        private List<Data_typeBean> data;
        private List<BannerBean>banner;
        public static class Data_typeBean{
            private int  relation_object_id;
            private String relation_object_title;
            private String relation_object_jingle;
            private String relation_object_image;
            private List<Goods_customBean>goods;

            public static class Goods_customBean{
                private String name;
                private String value;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getValue() {
                    return value;
                }

                public void setValue(String value) {
                    this.value = value;
                }

                public Goods_customBean(String name, String value) {
                    this.name = name;
                    this.value = value;

                }
            }

            public int getRelation_object_id() {
                return relation_object_id;
            }

            public void setRelation_object_id(int relation_object_id) {
                this.relation_object_id = relation_object_id;
            }

            public String getRelation_object_title() {
                return relation_object_title;
            }

            public void setRelation_object_title(String relation_object_title) {
                this.relation_object_title = relation_object_title;
            }

            public String getRelation_object_jingle() {
                return relation_object_jingle;
            }

            public void setRelation_object_jingle(String relation_object_jingle) {
                this.relation_object_jingle = relation_object_jingle;
            }

            public String getRelation_object_image() {
                return relation_object_image;
            }

            public void setRelation_object_image(String relation_object_image) {
                this.relation_object_image = relation_object_image;
            }

            public List<Goods_customBean> getGoods() {
                return goods;
            }

            public void setGoods(List<Goods_customBean> goods) {
                this.goods = goods;
            }

            public Data_typeBean(int relation_object_id, String relation_object_title, String relation_object_jingle, String relation_object_image, List<Goods_customBean> goods) {
                this.relation_object_id = relation_object_id;
                this.relation_object_title = relation_object_title;
                this.relation_object_jingle = relation_object_jingle;
                this.relation_object_image = relation_object_image;
                this.goods = goods;

            }
        }
        public static class BannerBean{
                private String  advertTitle;
                private String advertUrl;
                private String advertImg;
                private int advertId;

            public int getAdvertId() {
                return advertId;
            }

            public void setAdvertId(int advertId) {
                this.advertId = advertId;
            }

            public BannerBean(String advertTitle, String advertUrl, String advertImg, int advertId) {
                this.advertTitle = advertTitle;
                this.advertUrl = advertUrl;
                this.advertImg = advertImg;
                this.advertId = advertId;
            }

            public String getAdvertTitle() {
                return advertTitle;
            }

            public void setAdvertTitle(String advertTitle) {
                this.advertTitle = advertTitle;
            }

            public String getAdvertUrl() {
                return advertUrl;
            }

            public void setAdvertUrl(String advertUrl) {
                this.advertUrl = advertUrl;
            }

            public String getAdvertImg() {
                return advertImg;
            }

            public void setAdvertImg(String advertlmg) {
                this.advertImg = advertlmg;
            }
        }

            public DatasBean(List<Data_typeBean> data, List<BannerBean> banner) {
                this.data = data;
                this.banner = banner;

            }

            public List<Data_typeBean> getData() {
                return data;
            }

            public void setData(List<Data_typeBean> data) {
                this.data = data;
            }

            public List<BannerBean> getBanner() {
                return banner;
            }

            public void setBanner(List<BannerBean> banner) {
                this.banner = banner;
            }
        }

    public Home(DatasBean datas) {
        this.datas = datas;
    }

    public DatasBean getDatas() {
        return datas;
    }

    public void setDatas(DatasBean datas) {
        this.datas = datas;
    }
}
